java string contains number

63

java string contains number -

str.matches(".*\\d.*");

Comments

Submit
0 Comments